From: Euan Harris Date: Tue, 18 Nov 2014 17:07:41 +0000 (+0000) Subject: libxl: Document device parameter of libxl_device__add functions X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4079 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=405254bbb2fdbfa8a428fd144ea7585812af9e8a;p=xen.git libxl: Document device parameter of libxl_device__add functions The device parameter of libxl_device__add is an in/out parameter. Unspecified fields are filled in with appropriate values for the created device when the function returns. Document this behaviour. Signed-off-by: Euan Harris Acked-by: Ian Jackson --- diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h index c3451bdc42..41d6e8db6c 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -1109,6 +1109,10 @@ void libxl_vtpminfo_list_free(libxl_vtpminfo *, int nr_vtpms); * domain to connect to the device and therefore cannot block on the * guest. * + * device is an in/out parameter: fields left unspecified when the + * structure is passed in are filled in with appropriate values for + * the device created. + * * libxl_device__remove(ctx, domid, device): * * Removes the given device from the specified domain by performing